FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /tmp
ADD target/first-client-0.0.1-SNAPSHOT.jar /first-client.jar
RUN sh -c 'touch /first-client.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /first-client.jar" ]